package com.qf.controller;

import com.qf.service.AServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * A：张三
 * @author lixu
 */
@RestController
@RequestMapping("/a")
public class AController {

    @Autowired
    private AServiceImpl aService;

    @GetMapping("/money")
    public String money(){
        aService.payMoney();
        return "OK";

    }
}
